package com.share.request;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.share.response.BaseResponse;

public abstract class BaseRequest<T extends BaseResponse> {
    @JsonIgnore
    private final Class<T> responseClass;
    protected BaseRequest(Class<T> responseClass) {
        this.responseClass = responseClass;
    }
    public final Class<T> getResponseClass() {
        return responseClass;
    }
}